package com.pocket.insight.base.mql.conversion;

import com.pocket.insight.base.mql.Conversion;
import com.pocket.insight.base.mql.TypedVal;
import com.pocket.insight.base.mql.relation.StatementRelation;
import com.pocket.insight.base.sql.Dialect;
import org.apache.commons.lang3.tuple.Pair;

import java.util.List;

/**
 * 描述：
 *
 * @author shuize
 * @create 2024/12/9
 */
public class MongoConversion implements Conversion {

    private Dialect dialect;

    @Override
    public TypedVal statementQueryPack(QueryParts queryParts, StatementRelation statementRelation) {
        return null;
    }

    @Override
    public TypedVal bracketQueryWithAlias(TypedVal tableQuery, String alias) {
        return null;
    }

    @Override
    public TypedVal unionQueryPack(List<TypedVal> paramList) {
        return null;
    }

    @Override
    public Pair<TypedVal, String> getQueryForReused(TypedVal query, String alias, String fromAlias, List<String> withUids, Boolean noNeedToReuse, Integer accessCount) {
        return null;
    }

    public MongoConversion setDialect(Dialect dialect) {
        this.dialect = dialect;
        return this;
    }
}
